package com.control
{
	import com.event.EventData;
	
	import flash.display.Sprite;

	public class PushData extends Sprite
	{
		private var evtData:EventData;
		
		public function PushData()
		{
		}
		public function doAdd():void
		{
			evtData=new EventData("onAddData");
			evtData.customMess="Add Data Success!";
			dispatchEvent(evtData);
		}
		public function doRemove():void
		{
			evtData=new EventData("onRemoveData");
			evtData.customMess="Remove Data Success!";
			dispatchEvent(evtData);
		}
	}
}